package io.renren.common.constant;

/**
 * @author: xiaomi
 * @date: 2021/8/9
 * @description: 缩略图常量
 */
public class ThumbnailConstant {

    /**
     * 状态枚举
     */
    public enum StatusEnum {
        STATUS_INIT(0, "初始任务"), STATUS_SUC(1, "任务完成"), STATUS_FAIL(-1, "任务失败");

        //region 以下都是枚举类型构造器

        private int code;
        private String msg;


        StatusEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
        //endregion
    }

    public enum TypeEnum {
        TYPE_IMAGE(1, "ffimages 表");

        //region 以下都是枚举类型构造器

        private int code;
        private String msg;


        TypeEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
        //endregion
    }
}
